package com.dodol.common;

public enum FindElementBy {

    ID("id", 0),
    XPATH("xpath", 1),
    CLASSNAME("classname", 2),
    LINKTEXT("linktext", 3),
    NAME("name", 4);

    private String type;
    private int index;

    FindElementBy(String type, int index) {
        this.type = type;
        this.index = index;
    }

    public String getType() {
        return type;
    }

    public int getIndex() {
        return index;
    }
}
